package org.jeecg.modules.demo.shareholderrecord.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 股东分红信息
 * @Author: jeecg-boot
 * @Date: 2022-01-14
 * @Version: V1.0
 */
@Data

@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "shareholder_info对象", description = "股东分红信息")
public class ShareholderInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 消费用户
     */
    @Excel(name = "消费用户", width = 15)
    @ApiModelProperty(value = "消费用户")
    private String consumerUsers;
    /**
     * 消费金额
     */
    @Excel(name = "消费金额", width = 15)
    @ApiModelProperty(value = "消费金额")
    private String consumerSum;
    /**
     * 分红金额
     */
    @Excel(name = "分红金额", width = 15)
    @ApiModelProperty(value = "分红金额")
    private String drawSum;
    /**
     * 分红日期
     */
    @Excel(name = "分红日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "分红日期")
    private Date creationTime;
}
